package com.qf.shoppingproduct.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@AllArgsConstructor
@Data
@TableName("product")
public class Product {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String name;
    private String price;
    private String image;
    private String brand;
    private Integer inventory;
}
